package com.miyouke.chat.entity;

import com.baomidou.mybatisplus.annotation.*;
import java.util.Date;
import lombok.Data;

@Data
@TableName("app_control")
public class AppControl {

    @TableId(value = "id", type = IdType.AUTO)
    private Integer id;

    @TableField("user_name")
    private String userName;

    private String password;

    private Integer port;

    private String host;

    @TableField("app_name")
    private String appName;

    @TableField("start_file")
    private String startFile;

    @TableField("stop_file")
    private String stopFile;

    @TableField("app_port")
    private Integer appPort;

    private String status;

    @TableField(value = "create_time", fill = FieldFill.INSERT)
    private Date createTime;

    @TableField(value = "update_time", fill = FieldFill.INSERT_UPDATE)
    private Date updateTime;
}
